package com.tbit.uqbike.object.pojo;

import com.tbit.uqbike.annos.Excel;
import com.tbit.uqbike.webmanager.util.csv.annotations.Csv;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 骑行订单金额分布
 *
 * @Author:BUGTian
 * @DATE: 2023/1/7
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RideUseLog {
    /**
     * 主键id
     */
    private Long logId;
    /**
     * 骑行订单号
     */
    @Excel(name = "骑行订单号", sort = 1)
    @Csv(name = "骑行订单号")
    private String orderNO;
    /**
     * 区域id
     */
    private Integer adAccountId;
    /**
     * 品牌id
     */
    private Integer accountId;
    /**
     * 总金额
     */
    public Integer totalMoney;
    /**
     * 余额支付金额
     */
    public Integer balance;
    /**
     * 余额退款金额
     */
    public Integer balanceRefund;
    /**
     * 其他金额
     */
    public Integer other;
    /**
     * 其他退款金额
     */
    public Integer otherRefund;
    /**
     * 充值类型
     */
    @Excel(name = "充值类型", readConverterExp = "1=微信app,2=微信小程序,3=支付宝app,4=微信支付分,5=支付宝小程序,7=汇付微信支付,8=汇付支付宝支付", sort = 7)
    @Csv(name = "充值类型")
    private Integer type;
    /**
     * 添加时间
     */
    @Csv(name = "添加时间")
    @Excel(name = "添加时间", dateFormat = "yyyy-MM-dd HH:mm:ss", sort = 8)
    private Date addTime;
    /**
     * 备注
     */
    private String remark;
}

